MailPoet\Automation\Engine\Storage\AutomationStorage S

Total Complexity 42
Dependencies 7
Dependents 20
Total lines 349
Lines of code 283
Logical lines of code 129
Comment lines 14
Methods 17
Properties 6

Methods 17

Method Rating Maintainability Complexity Lines of code
insertAutomationTriggers()
A
47 7 35
deleteAutomation()
S
48 6 36
truncate()
S
58 4 17
updateAutomation()
S
60 4 12
getAutomation()
S
54 3 23
getAutomations()
S
54 3 20
getAutomationsBySubject()
S
52 2 24
insertAutomationVersion()
S
60 2 13
createAutomation()
S
61 2 12
getCountOfActiveByTriggerKeysAndAction()
S
52 1 25
getActiveAutomationsByTriggerKey()
S
54 1 24
getNameColumnLength()
S
70 2 6
getActiveTriggerKeys()
S
60 1 15
__construct()
S
65 1 9
getAutomationHeaderData()
S
73 1 5
getAutomationCount()
S
75 1 4
getActiveAutomationsByTrigger()
S
80 1 3